package com.shaozj.system.api;

import com.shaozj.feign.config.FeignConfig;
import com.shaozj.system.model.dto.UserOnlineDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "service-system", contextId = "userOnline", configuration = FeignConfig.class)
public interface RemoteUserOnlineService {

    @PostMapping("/api/v1/online/save")
    void saveLoginInfo(UserOnlineDTO userOnlineDTO);
}
